projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fcf01d
)
Fix the Vulkan header check for VK_RESULT_RANGE_SIZE
author
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 28 Dec 2020 18:41:18 +0000
(18:41 +0000)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 28 Dec 2020 18:41:18 +0000
(18:41 +0000)
The VK_RESULT_RANGE_SIZE enumeration value was removed in 1.2.140, not
1.2.142.
Fixes: #3522
gdk/gdkvulkancontext.c
patch
|
blob
|
history
diff --git
a/gdk/gdkvulkancontext.c
b/gdk/gdkvulkancontext.c
index a561476dce410ac21f2daf6023689b95357cad4d..13ba8dae8b0b3a779e0738f549b461894d32af41 100644
(file)
--- a/
gdk/gdkvulkancontext.c
+++ b/
gdk/gdkvulkancontext.c
@@
-225,7
+225,7
@@
gdk_vulkan_strerror (VkResult result)
case VK_ERROR_PIPELINE_COMPILE_REQUIRED_EXT:
return "A requested pipeline creation would have required compilation, but the application requested compilation to not be performed.";
#endif
-#if VK_HEADER_VERSION < 14
2
+#if VK_HEADER_VERSION < 14
0
case VK_RESULT_RANGE_SIZE:
#endif
case VK_RESULT_MAX_ENUM: